package com.ruoyi.checksystem.mapper;

import java.util.List;
import com.ruoyi.checksystem.domain.VipPackage;

/**
 * VIP套餐Mapper接口
 *
 * @author ruoyi
 * @date 2025-03-19
 */
public interface VipPackageMapper {
    /**
     * 查询VIP套餐
     *
     * @param id VIP套餐主键
     * @return VIP套餐
     */
    public VipPackage selectVipPackageById(Long id);

    /**
     * 查询VIP套餐列表
     *
     * @param vipPackage VIP套餐
     * @return VIP套餐集合
     */
    public List<VipPackage> selectVipPackageList(VipPackage vipPackage);

    /**
     * 新增VIP套餐
     *
     * @param vipPackage VIP套餐
     * @return 结果
     */
    public int insertVipPackage(VipPackage vipPackage);

    /**
     * 修改VIP套餐
     *
     * @param vipPackage VIP套餐
     * @return 结果
     */
    public int updateVipPackage(VipPackage vipPackage);

    /**
     * 删除VIP套餐
     *
     * @param id VIP套餐主键
     * @return 结果
     */
    public int deleteVipPackageById(Long id);

    /**
     * 批量删除VIP套餐
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteVipPackageByIds(Long[] ids);

    /**
     * VIP套餐充值
     * @param vipPackage VIP套餐信息
     * @return 充值结果
     */
    int rechargeVipPackage(VipPackage vipPackage);
}